/*******************************************
 * Copyright 2007 Aphrodite Framework for javaME .
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * Email : owner@aphroditeme.dev.java.net
 * Contributors:
 *     Kent Elton - initial API and implementation
 *******************************************/

package com.aphrodite.xml;

public final class Xml {

	/** Return value of getType before first call to next() */
	public final static int START_DOCUMENT = 0;

	/** Signal logical end of xml document */
	public final static int END_DOCUMENT = 1;

	/** Start tag was just read */
	public final static int START_TAG = 2;

	/**
	 * End tag was just read
	 */
	public final static int END_TAG = 3;

	/** Text was just read */
	public final static int TEXT = 4;

	/** Integer constant for comments */
	public static final int COMMENT = 5;

	/** Integer constant for doctype */
	public static final int DOCTYPE = 6;

	/** Integer constant assigned to a processing instruction */
	public static final int PROCESSING_INSTRUCTION = 32;

	/** Integer constant for whitespace nodes and events */
	public static final int WHITESPACE = 256;

	public static final String NO_NAMESPACE = "";

	/** Constant identifying wap extension events */
	public static final int WAP_EXTENSION = 1024;
}
